package com.itheima.chapter07.bacispackage;

public class conversion {
    public static void main(String[] args) {
        //int转化为string
        int i =100;
        String s =i+"";
        System.out.println(s+200);
        String s1 = String.valueOf(i);
        System.out.println(s1+120);

        System.out.println("_____________");

        //string转化为int
        String s2="300";
        int ii = Integer.parseInt(s2);
        System.out.println(ii);

    }
}
